package com.zhj.util.state.enems;

/**
 * @author zhj
 * @create 2024-04-17-16:28
 */
public enum PreRegStateEnum {
    PRE_REG(0, "预约"),
    REG(1, "已挂号"),
    REG_CANCEL(2, "已退号"),
    TREAT(3, "已接诊"),
    PATIENT_CANCEL(-1, "病人取消"),
    HOSPITAL_CANCEL(-2, "医院取消"),
    ;

    private int code;

    private String value;

    PreRegStateEnum(int code, String value) {
        this.code = code;
        this.value = value;
    }


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
